//
//  RestaurantViewModel.h
//  Park
//
//  Created by 123456 on 2017/12/8.
//  Copyright © 2017年 YTYangK. All rights reserved.
//

#import "ViewModelClass.h"

@interface RestaurantViewModel : ViewModelClass

//获取菜单
+(void)requestWithUrlForRestaurant:(id)obj andParam:(NSDictionary *)param success:(void(^)(NSMutableArray *model))success failure:(void(^)(NSString *error))failure;

//提交订单
+(void)requestWithUrlForRestaurantSubmit:(id)obj andParam:(NSDictionary *)param success:(void(^)(NSMutableArray *model))success failure:(void(^)(NSString *error))failure;

//获取所有订单
+(void)requestWithUrlForAllOrdersInTheRestaurant:(id)obj andParam:(NSDictionary *)param success:(void(^)(NSMutableArray *model))success failure:(void(^)(NSString *error))failure;

//确认订单
+(void)requestWithUrlForConfirmOrder:(id)obj andParam:(NSDictionary *)param success:(void(^)(NSMutableArray *model))success failure:(void(^)(NSString *error))failure;



@end
